<?php
$this->breadcrumbs = array(
    'Settings',
    'Site settings'
);
?>
<div class="box">
    <header>
        <h5><i class="icon"></i>Social key</h5>
    </header>
    <div class="body">
        <form method="post">
            <div class="control-group">
                <label class="control-label">Facebook</label>
                <div class="controls">
		    <table>
			<tr>
			    <td>App id:</td>
			    <td><input type="text" name="facebook_id" value="<?php echo isset($settings['facebook_id']) ? $settings['facebook_id'] : '' ?>" /></td>
			</tr>
			<tr>
			    <td>App secret:</td>
			    <td> <input type="text" name="facebook_token" value="<?php echo isset($settings['facebook_token']) ? $settings['facebook_token'] : '' ?>" /></td>
			</tr>
		    </table>		                      		    		                      
                </div>
            </div>
	    <?php /*
	      <div class="control-group">
	      <label class="control-label">Twitter</label>
	      <div class="controls">
	      <table>
	      <tr>
	      <td>App id:</td>
	      <td><input type="text" name="twitter_id" value="<?php echo isset($settings['twitter_id']) ? $settings['twitter_id'] : '' ?>" /></td>
	      </tr>
	      <tr>
	      <td>App secret:</td>
	      <td> <input type="text" name="twitter_token" value="<?php echo isset($settings['twitter_token']) ? $settings['twitter_token'] : '' ?>" /></td>
	      </tr>
	      </table>
	      </div>
	      </div>

	      <div class="control-group">
	      <label class="control-label">Google</label>
	      <div class="controls">
	      <table>
	      <tr>
	      <td>App id:</td>
	      <td><input type="text" name="google_id" value="<?php echo isset($settings['google_id']) ? $settings['google_id'] : '' ?>" /></td>
	      </tr>
	      <tr>
	      <td>App secret:</td>
	      <td> <input type="text" name="google_token" value="<?php echo isset($settings['google_token']) ? $settings['google_token'] : '' ?>" /></td>
	      </tr>
	      </table>
	      </div>
	      </div>

	      <div class="control-group">
	      <label class="control-label">Linkedin</label>
	      <div class="controls">
	      <table>
	      <tr>
	      <td>App id:</td>
	      <td><input type="text" name="linkedin_id" value="<?php echo isset($settings['linkedin_id']) ? $settings['linkedin_id'] : '' ?>" /></td>
	      </tr>
	      <tr>
	      <td>App secret:</td>
	      <td> <input type="text" name="linkedin_token" value="<?php echo isset($settings['linkedin_token']) ? $settings['linkedin_token'] : '' ?>" /></td>
	      </tr>
	      </table>
	      </div>
	      </div>
	      </div>
	     * 
	     */ ?>

	    <div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => 'Submit')); ?>
	    </div>
	</form>
    </div>
</div>